# -*- coding: utf-8 -*-

'''
 Python为string对象提供了转换大小写的方法：upper() 和 lower().
 Python还为我们提供了首字母大写,其余小写的capitalize()方法,
'''
name = 'xiaomu'
info = 'hello 小慕'
_info = '小慕 hello'
new_name = name.capitalize()
new_info = _info.capitalize()
new_info2 = info.capitalize()
print (new_info2) #Hello 小慕
print (new_info) # 小慕 hello
print(new_name) # Xiaomu